package org.hilo.boot.mybatis;

import com.baomidou.mybatisplus.generator.config.StrategyConfig;
import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy;

/**
 * default config
 * 
 * @author zollty
 * @since 2018-3-19
 */
public class DefaultStrategyConfig extends StrategyConfig {
    
    public DefaultStrategyConfig() {
        super();
        setNaming(NamingStrategy.underline_to_camel);
        setSuperMapperClass("org.hilo.boot.core.BaseMapper");
        setSuperServiceImplClass("org.hilo.boot.core.BaseDms");
        setRestControllerStyle(true);
        setControllerMappingHyphenStyle(true);
    }

}
